package com.jeffdouglas.cucumberroll.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

public class SomeWidget extends Composite {

	private static SomeWidgetUiBinder uiBinder = GWT.create(SomeWidgetUiBinder.class);

	interface SomeWidgetUiBinder extends UiBinder<Widget, SomeWidget> {
	}
	
	@UiField Label displayText;
	 
	public void setMyField(String t) {
		displayText.setText(t);
	}


	public SomeWidget() {
		initWidget(uiBinder.createAndBindUi(this));
	}

}
